package models

import "gorm.io/gorm"

type Patient struct {
	gorm.Model
	Img   string  `gorm:"type:varchar(255)"json:"img"`
	Name  string  `gorm:"type:varchar(25)"json:"name"`
	Tel   string  `gorm:"type:char(11)"json:"tel"`
	Class string  `gorm:"type:varchar(20)"json:"class"`
	Money float64 `gorm:"type:decimal(10,2)"json:"money"`
	Time  string  `gorm:"type:datetime"json:"time"`
}
